package net.zjitc.service;

import com.github.pagehelper.PageInfo;
import net.zjitc.pojo.Notice;

import java.util.List;

/**
 * @Author admin
 * @DATE 2019/3/28 14:55
 */
public interface NoticeService {
    int addNotice(Notice notice);
    List<Notice> findAll();

    Notice findById(int id);

    int editNotice(Notice notice);

    int deleteNotice(int  id);

    public PageInfo<Notice> findNoticeByPage(Integer currentPage, Integer pageSize);
    Notice details();
}
